#include "StdAfx.h"
#include "SgColor.h"

CSgColor::CSgColor(void)
{
}

CSgColor::~CSgColor(void)
{
}


void CSgColor::SetColor(double red, double green, double blue, double alpha = 1.0)
{
	m_red = red;
	m_green = green;
	m_blue = blue;
	m_alpha = alpha;
}


void CSgColor::Render()
{
	glColor3d(m_red, m_green, m_blue);

	CSgComposite::Render();
}